package com.lee.dhsg.service.impl;

import com.lee.dhsg.dao.LunboDao;
import com.lee.dhsg.domain.Lunbo;
import com.lee.dhsg.service.LunboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 该服务层接口用于实现轮播相关业务
 * 1、查询所有轮播
 *
 * @author Lee
 */

@Service
public class LunboServiceImpl implements LunboService {

    @Autowired
    private LunboDao lunboDao;

    /**
     * 查询所有轮播
     */
    @Override
    public List<Lunbo> findAll() {
        return lunboDao.findAll();
    }
}
